package cn.edu.lzu.service;

import cn.edu.lzu.common.assist.DataPage;
import cn.edu.lzu.entity.Permission;

import javax.xml.crypto.Data;
import java.util.List;

/**
 * @PackageName: cn.edu.lzu.service
 * @InterfaceName: PermissionService
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2020/5/5 17:58
 * @Version: 1.0
 */
public interface PermissionService {
    DataPage getPermissions();

    List<Permission> getPermissionsByRoleId(long unitId, int roleId);
}
